-- GENERATED SPELL FOR [Emaciated Mammoth Bull] --


function spell0_26271(pUnit, Event) --@Trample,n/a--
pUnit:FullCastSpellOnTarget(51944,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26271', 658, 1)
end

function Sorts_26271(pUnit, Event)
local choix_sorts_26271 = math.random(0, 0)
if choix_sorts_26271 == 0 then
pUnit:RegisterEvent('spell0_26271', 1, 1)
end
end

function mob26271_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26271', math.random(1500, 3000), 1)
end

function mob26271_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26271_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26271_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26271, 1, 'mob26271_Action')
RegisterUnitEvent(26271, 2, 'mob26271_Leave')
RegisterUnitEvent(26271, 3, 'mob26271_Kill')
RegisterUnitEvent(26271, 4, 'mob26271_Die')
